import Vue from 'vue';

// 引入vant组件
import { Search, NavBar, Tab, Tabs, Button, Card, Empty, Cell, CellGroup, Field, Toast, NoticeBar, Rate, Col, Row, Dialog, Pagination, Icon, Badge, Grid, GridItem, Tabbar, TabbarItem, Image as VanImage, Uploader, Picker, Popup, DatetimePicker, Tag } from 'vant';


// 注册组件
Vue
    .use(Search)
    .use(NavBar)
    .use(Tab)
    .use(Tabs)
    .use(Button)
    .use(Card)
    .use(Empty)
    .use(Cell)
    .use(CellGroup)
    .use(Field)
    .use(Toast)
    .use(NoticeBar)
    .use(Rate)
    .use(Col)
    .use(Row)
    .use(Dialog)
    .use(Pagination)
    .use(Icon)
    .use(Badge)
    .use(Grid)
    .use(GridItem)
    .use(Tabbar)
    .use(TabbarItem)
    .use(VanImage)
    .use(Uploader)
    .use(Picker)
    .use(Popup)
    .use(DatetimePicker)
    .use(Tag)
